﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fadd
{
    public static class UnhandledException
    {
        public static void TriggerEvent(object source, string message, Exception exception)
        {
            
        }
    }
    public static class ExceptionHandler
    {
        public static ExceptionPolicy ThrownInThread(Type type, Exception err)
        {
            return ExceptionPolicy.Ignore;
        }

        public static void TriggerUnhandledException(object source, UnhandledExceptionEventArgs args)
        {
            
        }

        public static event EventHandler UnhandledException = delegate { };
    }

    public class UnhandledExceptionEventArgs:EventArgs
    {
        public UnhandledExceptionEventArgs(string message, Exception unhandledException)
        {
            
        }

    }
    public enum ExceptionPolicy
    {
        Throw,
        Ignore
    }
}
